﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XinjeMesProgram.Entities.Maintenance
{
    public class DeliverEntity
    {
        [Key]
        public string ProductId { get; set; }

        /// <summary>
        /// 发货编号
        /// </summary>
        [Column(TypeName = "nvarchar(100)")]
        public string? ShipmentSequence { get; set; }

        /// <summary>
        /// 发货快递单号
        /// </summary>
        [Column(TypeName = "nvarchar(100)")]
        public string? NumberOut { get; set; }

        /// <summary>
        /// 发货快递名称
        /// </summary>
        [Column(TypeName = "nvarchar(16)")]
        public string? NameOut { get; set; }

        /// <summary>
        /// 合并时间
        /// </summary>
        public string? MergeStatusDate { get; set; }

        /// <summary>
        /// 包装时间
        /// </summary>
        public string? PackagingTime { get; set; }

        /// <summary>
        /// 发货时间
        /// </summary>
        public DateTime? DeliveryTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDeleted { get; set; }


        /// <summary>
        /// 0:维修完成；1:已包装； 2：已发货
        /// </summary>
        public string? State { get; set; }

        /// <summary>
        /// 合并参数（初始化，需保存）
        /// </summary>
        public int? Counta { get; set; }

    }
}
